/* -----------------------------------------------------------------------------
 * PROJECT    : lwf-jaxb
 * FILE       : StaticWorkSheet.java
 *
 * HISTORY:
 * Date          Author                        Description
 * ----------------------------------------------------------------------------- 
 * Mar 21, 2011  mycodetalks			       Created
 */
package net.lwf.jaxb.entity;

import java.io.Serializable;

import net.lwf.common.constant.ICommonConstant;
import net.lwf.jaxb.stubs.maths.worksheet.File;

/**
 * Class description goes here
 */
public class StaticWorkSheet extends File implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private int id;
	private String description;
	private String encryptedPrintKey;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getPrintKey() {
		String key = getId() + ICommonConstant.PIPE +
		             getPath() + ICommonConstant.FORWARD_SLASH +
		             getName();
        return key;
	}
	public String getEncryptedPrintKey() {
		return encryptedPrintKey;
	}
	public void setEncryptedPrintKey(String encryptedPrintKey) {
		this.encryptedPrintKey = encryptedPrintKey;
	}
	
}



